package com.mybatisplus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mybatisplus.pojo.Patent;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PatentMapper extends BaseMapper<Patent> {
    List<Patent> getPatentList(Patent patent);
    void addPatent(Patent patent);
    void updatePatent(Patent patent);
    void deletePatent(Integer id);
}

